package com.wanbangee.marksystem.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanbangee.marksystem.dao.MSubjectDao;
import com.wanbangee.marksystem.entities.MSubject;
import com.wanbangee.marksystem.service.TopScoreCompositionService;

@Service
public class TopScoreCompositionServiceImpl implements TopScoreCompositionService {

	@Autowired
	private MSubjectDao mSubjectDao;
	
	@Override
	public List<MSubject> selectMSubjectByExamId(Integer examId) {
		return mSubjectDao.selectMSubjectByExamId(examId);
	}

}
